package com.itlong.cloud.POJO.DTO.property;


import com.itlong.cloud.POJO.DTO.BaseDTO;
import com.itlong.cloud.enumerate.ImportAddressOperationType;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * <desc>
 *    从Excel(*.xls)导入的楼栋信息
 * </desc>
 *
 * @createDate 2017-10-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class PropertyProjectImportBuildInfoDTO  extends BaseDTO implements Serializable {

    private String buildId; //楼栋id

    private String buildNum;  //楼栋编号，3位，001-999

    private String projectId; //项目编号

    private String buildName; //楼栋名称

    private Integer groundFloorNum; //地面楼层数 1-99的自然数

    private Integer undergroundFloorNum; //地下楼层数 0-98的自然数

    private Integer floorNum;//总楼层数，1-99的自然数

    private Integer buildType; //楼栋类型

    private String remark; //备注

    private Date createTime;            //创建时间

    private Date updateTime;            //更新时间

    private Integer status;             //状态：0删除 1正常 2禁用

    private ImportAddressOperationType importAddressOperationType;   //操作类型

    private Map<String,PropertyProjectImportUnitInfoDTO> unitsInFile;  //导入文件中当前楼栋下的单元列表<unitName,PropertyProjectImportUnitInfoDTO>>

    public PropertyProjectImportBuildInfoDTO() {
        unitsInFile = new HashMap<>();
    }



}
